package com.cmwa.scbp.base.constants;

import java.util.List;

import org.apache.logging.log4j.core.config.Order;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@Order(1)
@ConfigurationProperties(prefix = "sys")
public class SysProp {
	private String loginUrl;
	private String nonPrivilegedUrl;
	private String tmpFileBasePath;
	private String runSchedule;
	private String environment;
	
	private List<String> excludeUrls;  // 无需进行登录过滤的url

	public String getLoginUrl() {
		return loginUrl;
	}

	public void setLoginUrl(String loginUrl) {
		this.loginUrl = loginUrl;
	}

	public String getNonPrivilegedUrl() {
		return nonPrivilegedUrl;
	}

	public void setNonPrivilegedUrl(String nonPrivilegedUrl) {
		this.nonPrivilegedUrl = nonPrivilegedUrl;
	}

	public String getTmpFileBasePath() {
		return tmpFileBasePath;
	}

	public void setTmpFileBasePath(String tmpFileBasePath) {
		this.tmpFileBasePath = tmpFileBasePath;
	}

	public String getRunSchedule() {
		return runSchedule;
	}

	public void setRunSchedule(String runSchedule) {
		this.runSchedule = runSchedule;
	}

	public String getEnvironment() {
		return environment;
	}

	public void setEnvironment(String environment) {
		this.environment = environment;
	}

	public List<String> getExcludeUrls() {
		return excludeUrls;
	}

	public void setExcludeUrls(List<String> excludeUrls) {
		this.excludeUrls = excludeUrls;
	}

}
